package com.jpx.jxcbiz.service;

import com.jpx.common.vo.GoodsDto;
import com.jpx.jxcbiz.entity.TGoods;
import com.baomidou.mybatisplus.service.IService;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.stereotype.Service;
import com.jpx.common.dto.TGoodsDto;
import org.springframework.web.multipart.MultipartFile;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
@Service
public interface ITGoodsService extends IService<TGoods> {


    List<TGoodsDto> list(TGoodsDto goodsDto);

    List<TGoods> goodList(TGoodsDto goodsDto);

    XSSFWorkbook downLoadGoodsExcel(GoodsDto goodsDto) throws Exception;

    void uplodExcel(MultipartFile file) throws Exception;

    List getGoodsList(String name, String bname, Integer typeId);
}
